package com.yidu.best.basicSetup.exchange.dao;

import java.util.List;

import com.yidu.best.basicSetup.exchange.domain.Exchange;
import com.yidu.best.basicSetup.exchange.domain.ExchangeVo;

/**
 * 交易品种费率数据访问接口
 * @author AA
 *
 */
public interface ExchangeDao {
	/**
	 * 分页查询
	 * @param exchangeVo
	 * @return
	 */
	public List<Exchange> findExchange(ExchangeVo exchangeVo); 
	/**
	 * 查询数量
	 * @param exchangeVo
	 * @return
	 */
	public int findCountExchange(ExchangeVo exchangeVo);
	/**
	 * 添加
	 * @param exchangeVo
	 * @return
	 */
	public int addExchange(Exchange exchange);
	
	/**
	 * 修改
	 * @param exchange
	 * @return
	 */
	public int updateExchange(Exchange exchange);
	
	/**
	 * 删除
	 * @param exchangeId
	 * @return
	 */
	public int deleteExchange(String exchangeId);
	/**
	 * 查询所有
	 * @param exchange
	 * @return
	 */
	public List<Exchange> findAll();
}
